package org.infosys.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.infosys.basic.domain.BaseDomain;

/**
* @Description: 员工类
* @Author: hank
* @Version: 1.0
* @Date:  2022/6/21 17:36
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee extends BaseDomain {
    /** 员工姓名 */
    private String username;

    /** 员工电话 */
    private String phone;

    /** 员工邮件 */
    private String email;

    /** 员工密码盐值 */
    private String salt;

    /** 员工加密密码 */
    private String password;

    /** 员工年龄 */
    private Integer age;

    /** 员工状态 1启用，0禁用 */
    private Integer state;

    /** 员工部门id */
    private Long departmentId;

    /** 员工在登录表中的id */
    private Long logininfoId;

    /** shop_id */
    private Long shopId;

    /** 所属部门 */
    private Department department;
}
